package com.mangguo.tingjian.account.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@TableName("user")
@Builder
public class User {
   @TableId(value = "id", type = IdType.AUTO)
   private Long id;

   private String username;

   private String password;

   private String trueName;

   private String email;

   private String avatar;

   private Integer deptId;

   private Integer roleId;

   private Integer isValid;

   private Integer deleteFlag;

   private Long operateUserId;

   private String operateTrueName;

   private Date lastLoginTime;

   private Date createTime;

   private Date updateTime;

}
